tools/libxl: Assert that libxl__ao_inprogress_gc() is not called with NULL
authorAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 28 Jul 2015 21:44:37 +0000 (22:44 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Wed, 29 Jul 2015 14:25:08 +0000 (15:25 +0100)
commit371e7eff4b067f3ec923a49f1c446b8169e7d701
tree735f7e723840b4d5ff3deab23eabb4870797f830
parenta636d4fc2f329566ddc1afff04d833281d8a07eb
tools/libxl: Assert that libxl__ao_inprogress_gc() is not called with NULL

libxl__ao_inprogress_gc() is hidden behind various macros used to
construct local variables.  Assert() that NULL is not passed, to make
such an error very obvious, rather than a plain segfault at 0.

No functional change.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
tools/libxl/libxl_event.c